using Valhala;
	
public class ValahalaTest {

	public static void doVObjectTest() {
		// Test get-set.
		var key = "key";
		var val = "value";
		VObject obj = new VObject();
		obj.setData(key, val);
		assert(val == obj.getData(key));
		// Test for null.
		assert(null == obj.getData("non-existing key"));
	}

	public static int main (string[] args) {
		Test.init(ref args);
		Test.add_func ("/ValahalaTest/VObjectTest", doVObjectTest);
		Test.run();

		return 0;
	}
}